<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
        + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>Add Role</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="<%=basePath%>css/form.css">
<script type="text/javascript" src="<%=basePath%>js/jquery-1.7.1.min.js" ></script>
<script type="text/javascript" src="<%=basePath%>js/jquery.tools.min.js" ></script>
</head>

<body>
    <label>add role</label>
    <br>
    <form id="userAddForm" action="role/addRole.action" method="post">

        <table>
            <tr>
                <td>roleID:</td>
                <td><input id="userID" name="role.id" title="角色ID" /></td>
            </tr>
            <tr>
                <td>name:</td>
                <td><input id="name" name="role.name" title="角色名称" /></td>
            </tr>
        </table>
        <button type="submit">submit</button>
    </form>
</body>
</html>
